-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix requesting attesting blocks after equivalent proofs #6732
fix requesting attesting blocks after equivalent proofs #6732
Conversation
@@ -390,6 +390,25 @@ func (bp *baseProcessor) SetHighestHdrNonceForCurrentBlock(shardId uint32, value | |||
bp.hdrsForCurrBlock.mutHdrsForBlock.Unlock() | |||
} | |||
|
|||
type LastNotarizedHeaderInfo struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
HasProof bool | ||
} | ||
|
||
func (bp *baseProcessor) SetLastNotarizedHeaderForShard(shardId uint32, info *LastNotarizedHeaderInfo) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
process/block/export_test.go
Outdated
|
||
func (bp *baseProcessor) SetLastNotarizedHeaderForShard(shardId uint32, info *LastNotarizedHeaderInfo) { | ||
bp.hdrsForCurrBlock.mutHdrsForBlock.Lock() | ||
lastNotarizedSharInfo := &lastNotarizedHeaderInfo{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lastNotarizedSharInfo := &lastNotarizedHeaderInfo{ | |
lastNotarizedShardInfo := &lastNotarizedHeaderInfo{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
…sx/mx-chain-go into fix-requesting-attesting-blocks
4757ba0
into
equivalent-proofs-stabilization-2
Reasoning behind the pull request
Proposed changes
Testing procedure
Pre-requisites
Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:
feat
branch created?feat
branch merging, do all satellite projects have a proper tag insidego.mod
?